from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^usernames/(?P<username>\w{5,20})/count/$', views.RegisterUserAPIView.as_view()),
    url(r'^phones/(?P<mobile>1[345789]\d{9})/count/$', views.RegisterMobileAPIView.as_view()),
]